﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ShowLocations.aspx.cs" Inherits="TicketingCompanyv2.ShowLocations" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register assembly="Telerik.OpenAccess.Web" namespace="Telerik.OpenAccess" tagprefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="DataSourceLocation">
    <MasterTableView AutoGenerateColumns="False" DataSourceID="DataSourceLocation">
        <CommandItemSettings ExportToPdfText="Export to PDF">
        </CommandItemSettings>
        <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
            <HeaderStyle Width="20px"></HeaderStyle>
        </RowIndicatorColumn>
        <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
            <HeaderStyle Width="20px"></HeaderStyle>
        </ExpandCollapseColumn>
        <Columns>
            <telerik:GridBoundColumn DataField="LocationID" DataType="System.Int32" 
                FilterControlAltText="Filter LocationID column" HeaderText="LocationID" 
                SortExpression="LocationID" UniqueName="LocationID">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Name" 
                FilterControlAltText="Filter Name column" HeaderText="Name" 
                SortExpression="Name" UniqueName="Name">
            </telerik:GridBoundColumn>
        </Columns>
        <EditFormSettings>
            <EditColumn FilterControlAltText="Filter EditCommandColumn column">
            </EditColumn>
        </EditFormSettings>
    </MasterTableView>
    <FilterMenu EnableImageSprites="False">
    </FilterMenu>
    <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
    </HeaderContextMenu>
</telerik:RadGrid>
<telerik:OpenAccessDataSource ID="DataSourceLocation" runat="server" 
    ObjectContextProvider="TicketingCompany.DAL.TicketingCompaniesModel, TicketingCompany.DAL" 
    TypeName="TicketingCompany.DAL.Location">
</telerik:OpenAccessDataSource>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
</asp:Content>
